<!--
 * @Author: sin998
 * @Date: 2019-06-22 17:28:50
 * @LastEditors: sin998
 * @LastEditTime: 2019-06-22 17:46:08
 -->
<template>
  <div class="header">
    <div class="header_left">
      <span>成都</span>
      <span class="iconfont xiala">&#xe617;</span>
    </div>
    <div class="header_mid">
      <div class="header_mid_wrap">
        <span class="iconfont">&#xe66b;</span>     
        <span>输入商家/品类/商圈</span>
      </div>
    </div>
    <div class="header_right" >
      <a href="/Login">
        <div>
      <span class="iconfont me">&#xe62f;</span>
      <span>我的</span>
        </div>
      </a>
    </div>
  </div>
</template>

<script>
export default {
  name: "HomeHeader"
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.header {
  width: 100%;
  background-color: #06c1ae;
  display: flex;
  color: #ffffff;
  height: 1rem;
}
.header_left {
  width: 1rem;
  margin-left: 0.2rem;
}
.header_left span {
  height: 1rem;
  line-height: 1rem;
  font-size: 0.3rem;
}
.header_left span.xiala {
  margin-right: 0.1rem;
  font-size: 0.32rem;
}
.header_mid {
  flex: 1;
}
.header_mid_wrap {
  width: 100%;
  margin: 0 auto;
  height: 0.6rem;
  line-height: 0.6rem;
  font-size: 0.24rem;
  text-align: left;
  display: block;
  margin-top: 0.2rem;
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 0.1rem;
}
.header_mid_wrap span {
  font-size: 0.28rem;
  margin-left: 0.1rem;
  color: #06dbce;
}
.header_mid_wrap span.select {
  color: #fff;
}
.header_right {
  width: 1rem;
}
.header_right span {
  height: 0.5rem;
  display: block;
}
.header_right span.me {
  font-size: 0.5rem;
}
</style>
